package app.jnsw.com.database.db.data;

import com.j256.ormlite.field.DataType;
import com.j256.ormlite.field.DatabaseField;
import com.j256.ormlite.table.DatabaseTable;

import java.sql.Clob;
import java.util.Date;

/**
 * Created by Administrator on 2017/6/14 0014.
 */
@DatabaseTable(tableName = "FALVFAGUI")//本地表名
public class Law {
    @DatabaseField(generatedId = true)
    private int Id;
    @DatabaseField
    private int Sort;
    @DatabaseField
    private String  PersonId;
    @DatabaseField
    private String  PersonName;
    @DatabaseField
    private String  UnitId;
    @DatabaseField
    private String  UnitName;
    @DatabaseField
    private String  Title;
    @DatabaseField
    private String  replycount;
    @DatabaseField
    private String  LawDate;
    @DatabaseField
    private String  Type;
    @DatabaseField
    private String  Logo;
    @DatabaseField
    private String  FileIds;
    @DatabaseField
    private String  ParentGuid;
    @DatabaseField(dataType = DataType.DATE_STRING,format = "yyyy/MM/dd HH:mm:ss")
    private Date Date;
    @DatabaseField(dataType = DataType.BYTE_ARRAY )
    private byte[] Contents;


    public int getId() {
        return Id;
    }

    public void setId(int id) {
        Id = id;
    }

    public int getSort() {
        return Sort;
    }

    public void setSort(int sort) {
        Sort = sort;
    }

    public String getPersonId() {
        return PersonId;
    }

    public void setPersonId(String personId) {
        PersonId = personId;
    }

    public String getPersonName() {
        return PersonName;
    }

    public void setPersonName(String personName) {
        PersonName = personName;
    }

    public String getUnitId() {
        return UnitId;
    }

    public void setUnitId(String unitId) {
        UnitId = unitId;
    }

    public String getUnitName() {
        return UnitName;
    }

    public void setUnitName(String unitName) {
        UnitName = unitName;
    }

    public String getTitle() {
        return Title;
    }

    public void setTitle(String title) {
        Title = title;
    }

    public String getReplycount() {
        return replycount;
    }

    public void setReplycount(String replycount) {
        this.replycount = replycount;
    }

    public String getLawDate() {
        return LawDate;
    }

    public void setLawDate(String lawDate) {
        LawDate = lawDate;
    }

    public String getType() {
        return Type;
    }

    public void setType(String type) {
        Type = type;
    }

    public String getLogo() {
        return Logo;
    }

    public void setLogo(String logo) {
        Logo = logo;
    }

    public String getFileIds() {
        return FileIds;
    }

    public void setFileIds(String fileIds) {
        FileIds = fileIds;
    }

    public String getParentGuid() {
        return ParentGuid;
    }

    public void setParentGuid(String parentGuid) {
        ParentGuid = parentGuid;
    }

    public java.util.Date getDate() {
        return Date;
    }

    public void setDate(java.util.Date date) {
        Date = date;
    }

    public byte[] getContents() {
        return Contents;
    }

    public void setContents(byte[] contents) {
        Contents = contents;
    }
}
